package api.my_api;

import java.time.LocalDateTime;

public class Test9 {
    public static void main(String[] args) {
        LocalDateTime now = LocalDateTime.now();
        LocalDateTime nowPlus = now.plusSeconds(1);
        System.out.println(now.isAfter(nowPlus));
        System.out.println(now.isBefore(nowPlus));
        System.out.println(now.isEqual(nowPlus));
    }
}
